home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000141_psh@home.com_Sat Nov 10 09:47:51 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  35 lines

  1. Article: 12961 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newshub2.rdc1.sfba.home.com!news.home.com!news2.rdc1.bc.home.com.POSTED!not-for-mail
  3. From: jens <psh@home.com>
  4. Subject: Hex operations in Kermit
  5. Newsgroups: comp.protocols.kermit.misc
  6. Lines: 14
  7. User-Agent: KNode/0.6.1
  8. MIME-Version: 1.0
  9. Content-Type: text/plain; charset=us-ascii
  10. Content-Transfer-Encoding: 7Bit
  11. X-No-Archive: yes
  12. Message-ID: <I72H7.79555$Gh2.24053794@news2.rdc1.bc.home.com>
  13. Date: Sat, 10 Nov 2001 04:34:48 GMT
  14. NNTP-Posting-Host: 24.77.61.172
  15. X-Complaints-To: abuse@home.net
  16. X-Trace: news2.rdc1.bc.home.com 1005366888 24.77.61.172 (Fri, 09 Nov 2001 20:34:48 PST)
  17. NNTP-Posting-Date: Fri, 09 Nov 2001 20:34:48 PST
  18. Organization: Excite@Home - The Leader in Broadband http://home.com/faster
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12961
  20.  
  21. Hi, I hope this is the right group to ask this question (if not, a pointer 
  22. in the right direction would be appreciated)
  23.  
  24. C-Kermit allows me to send hex code out the serial port with the OUTPUT 
  25. \xnn command. I am looking for a way to receive hex strings, find a match 
  26. and do a task based on what hex string was received. I tried doing this 
  27. with MINPUT and the \xnn notation but Kermit is just splitting it's gut at 
  28. my feable attempts at this. 
  29. How would I go about testing for lets say two hex strings \xaa\xab and 
  30. \x3e\x12 and depending on which string it matches branching to a task list.
  31.  
  32. Thanks in advance for any help with this.
  33.  
  34. Jens
  35.